import Home from '../views/home/index'
import Lun from '../views/home/lunbo'
import Tui from '../views/home/tui'
import Musicmanag from '../views/home/musicmanag'

import Login from '../views/login'
import Enter from '../views/enter'

const routes = [
    {
        from:'/',
        to:'/index/lunbo'
    },
    {
        path:'/index',
        component:Home,
        children:[
            {
                path:'/index/lunbo',
                component:Lun
            },
            {
                path:'/index/tui',
                component:Tui
            },
            {
                path:'/index/musicmanag',
                component:Musicmanag
            },
        ]
    },
    {
        path:'/login',
        component:Login
    },
    {
        path:'/enter',
        component:Enter
    }
]
export default routes